# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-euclid3
pkgver=0.01
pkgrel=6
pkgdesc="Vector, matrix, quaternion and some geometry in 2D and 3D for Python 3"
url="https://github.com/euclid3/euclid3"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3"
makedepends="
	py3-setuptools
	"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/e/euclid3/euclid3-$pkgver.tar.gz"
builddir="$srcdir/euclid3-$pkgver"
options="!check" # no tests

build() {
	python3 setup.py build
}

check() {
	python3 test_euclid.py
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
c4e5e2770ab4ede08904fc3b76e50d6812944ed226c9db52f2da8d100370e20ea6031ca554ae44d72d53e96727d163bd3cc8da7bf175539de10749da77877b0b  euclid3-0.01.tar.gz
"
